package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.User;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpSession;
import java.util.Map;

@Transactional
public interface UserService extends IService<User> {

    R sendMsg(User user, HttpSession session);

    R userLogin(Map<String,String> map, HttpSession session);


    R userLoginOut(HttpSession session);
}
